package models

import (
	"time"
)

type AdminUser struct {
	Id        int64     `form:"id" json:"id"`
	Uid       int64     `form:"uid" json:"uid"`
	Gender    int32     `form:"gender" json:"gender"`
	Openid    string    `form:"openid" json:"openid"`
	Nickname  string    `form:"nickName,json:"nickName"`
	City      string    `form:"city" json:"city"`
	Province  string    `form:"province" json:"province"`
	Country   string    `form:"country" json:"country"`
	Phone     string    `form:"phone" json:"phone"`
	Avatarurl string    `form:"avatarUrl" json:"avatarUrl"`
	Unionid   string    `form:"unionid" json:"unionid"`
	Created   time.Time `xorm:"created" json:"created"`
	Updated   time.Time `xorm:"updated" json:"updated"`
}

func (AdminUser) TableName() string {
	return "admin_user"
}
